<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .chatBox{

        }
        #online_list .online_item.active{
            color:red;
        }
        .not_choose{
            display: none;
        }
    </style>
    <script src="./myTool.js"></script>
</head>
<body>
    <!-- 聊天盒子 -->
    <div class="chatBox">
        <!-- 当前在线用户 -->
        <div>
            <ul id="online_list">
            </ul>
        </div>
        <!-- 聊天 -->
        <div id="chat_info_box">
            <!-- 选择了用户或组 -->
            <div class="choose_user">
                <ul id="sendTextBox"></ul>
                <input type="text" name="" id="input_box">
                <button onclick="sendData()">发送</button>
            </div>
            <!-- 没有选择 -->
            <div class="not_choose">
                没有选择用户
            </div>
        </div>
    </div>
</body>
<script src="./online.js"></script>
</html>